execute

fun <T> execute(block: () -> Promise<T>): Promise<T>

Executes block through the circuit breaker. Rejects with an error if the circuit is open.